package com.tian.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class UserApply implements Serializable {
    private Long id;

    private Long mainId;

    private BigDecimal loanLimit;

    private Integer status;

    private Date createTime;

    private BigDecimal useLoanLimit;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMainId() {
        return mainId;
    }

    public void setMainId(Long mainId) {
        this.mainId = mainId;
    }

    public BigDecimal getLoanLimit() {
        return loanLimit;
    }

    public void setLoanLimit(BigDecimal loanLimit) {
        this.loanLimit = loanLimit;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public BigDecimal getUseLoanLimit() {
        return useLoanLimit;
    }

    public void setUseLoanLimit(BigDecimal useLoanLimit) {
        this.useLoanLimit = useLoanLimit;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", mainId=").append(mainId);
        sb.append(", loanLimit=").append(loanLimit);
        sb.append(", status=").append(status);
        sb.append(", createTime=").append(createTime);
        sb.append(", useLoanLimit=").append(useLoanLimit);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}